package com.efounder.fragment.selectionpay;

import com.efounder.bean.MallSelectionPayMultipleBean;
import com.efounder.bean.MallSelectionPayOrderBean;
import com.pansoft.mobilemallpay.pays.PayInter;
import com.efounder.mvp.base.BaseView;

import java.util.List;

/**
 * @author : zzj
 * @e-mail : zhangzhijun@pansoft.com
 * @date : 2018/9/17 20:47
 * @desc : 支付选择界面的通讯契约
 * @version: 1.0
 */
public interface SelectionPayView extends BaseView{
    /**
     * 返回订单详情的数据
     * @param orderDetail
     */
    void getDataSuccess(MallSelectionPayOrderBean orderDetail, List<MallSelectionPayMultipleBean> mallSelectionPayMultipleBeans);

    /**
     * 支付成功
     */
    void paySuccess(PayInter finalPay);

    /**
     * 支付失败
     */
    void payFailed(PayInter finalPay,String msg, int code);

    void getFGTDataFail();

    void listenerActivityNotifycation();

    /**
     * 获取银钻数量成功
     * @param silverData
     */
    void getSilverDataSuccess(String silverData);

    /**
     * 获取能量数据成功
     * @param powerData 能量数据
     */
    void getBalanceDataSuccess(String powerData);

    /**
     * 获取fgt数据
     * @param fgtBalance fgt余额
     */
    void getFGTBalanceDataSuccess(String fgtBalance);
}
